package com.laobiao.file_netty_lib.netty.client.handler.fileList;

public class FileDetail {
	public static enum FileType{
		FILE,DIR
	}
	/**
	 * 文件所属路径
	 */
	private String parentPath="/";
	/**
	 * 文件名
	 */
	private String fileName;
	
	/**
	 * 文件类型
	 */
	private FileType fileType;

	public FileDetail() {
		
	}
	
	public FileDetail(String parentPath,String fileName,FileType fileType) {
		this.parentPath=parentPath;
		this.fileName=fileName;
		this.fileType=fileType;
	}
	
	public String getParentPath() {
		return parentPath;
	}

	public void setParentPath(String parentPath) {
		this.parentPath = parentPath;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public FileType getFileType() {
		return fileType;
	}

	public void setFileType(FileType fileType) {
		this.fileType = fileType;
	}

	@Override
	public String toString() {
		return "FileDetail [parentPath=" + parentPath + ", fileName=" + fileName + ", fileType=" + fileType + "]";
	}
	
}
